package com.zr.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.vo.base.BaseCity;

import java.util.Date;

/**
 * 订单状态实体类
 * @author huangguilong
 */
public class OrderStatus {

    // 自增id
    private Integer id;

    // 订单编号
    private String statusOrderId;

    // 状态名称
    private String statusName;

    // 状态时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date statusTime;

    // 状态所在地id
    private Integer statusAddress;

    // 状态详细地址
    private String statusAddressDetails;

    // 备用
    private String statusBackupOne;

    // 调度单号
    private String statusTicketId;

    // 状态地详细信息
    private BaseCity statusCity;

    // 订单信息
    private OrderForm statusOrderForm;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStatusOrderId() {
        return statusOrderId;
    }

    public void setStatusOrderId(String statusOrderId) {
        this.statusOrderId = statusOrderId == null ? null : statusOrderId.trim();
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName == null ? null : statusName.trim();
    }

    public Date getStatusTime() {
        return statusTime;
    }

    public void setStatusTime(Date statusTime) {
        this.statusTime = statusTime;
    }

    public Integer getStatusAddress() {
        return statusAddress;
    }

    public void setStatusAddress(Integer statusAddress) {
        this.statusAddress = statusAddress;
    }

    public String getStatusAddressDetails() {
        return statusAddressDetails;
    }

    public void setStatusAddressDetails(String statusAddressDetails) {
        this.statusAddressDetails = statusAddressDetails == null ? null : statusAddressDetails.trim();
    }

    public String getStatusBackupOne() {
        return statusBackupOne;
    }

    public void setStatusBackupOne(String statusBackupOne) {
        this.statusBackupOne = statusBackupOne == null ? null : statusBackupOne.trim();
    }

    public String getStatusTicketId() {
        return statusTicketId;
    }

    public void setStatusTicketId(String statusTicketId) {
        this.statusTicketId = statusTicketId == null ? null : statusTicketId.trim();
    }

    public BaseCity getStatusCity() {
        return statusCity;
    }

    public void setStatusCity(BaseCity statusCity) {
        this.statusCity = statusCity;
    }

    public OrderForm getStatusOrderForm() {
        return statusOrderForm;
    }

    public void setStatusOrderForm(OrderForm statusOrderForm) {
        this.statusOrderForm = statusOrderForm;
    }
}